package com.ruoyi.exam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.exam.domain.ExamRandomPracticeQuestion;
import com.ruoyi.exam.vo.ExamRandomPracticeQuestionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 练习题目Mapper接口
 *
 * @author Tellsea
 * @date 2025-07-28
 */
public interface ExamRandomPracticeQuestionMapper extends BaseMapper<ExamRandomPracticeQuestion> {

    Page<ExamRandomPracticeQuestionVo> queryList(Page<?> page, @Param("entity") ExamRandomPracticeQuestionVo entity);

    List<ExamRandomPracticeQuestionVo> queryList(@Param("entity") ExamRandomPracticeQuestionVo entity);

    ExamRandomPracticeQuestionVo queryById(@Param("id") Long practiceQuestionId);

}
